﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class Hotels
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int HotelId { get; set; }

            public string HotelName { get; set; }

            public string HotelAddress { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.EmailAddress)]
            public string HotelEmail { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.PhoneNumber)]
            public string HotelPhone { get; set; }

            public string HotelOwnerId { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string EzCloudSubdomain { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string HotelDomain { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string HotelWebsite { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string HotelLogoUrl { get; set; }

            public int? HotelSizeId { get; set; }

            public bool IsActive { get; set; }

            public System.DateTime? ExpireDate { get; set; }

            public string HotelLockedReason { get; set; }

            public int? DefaultMoneyId { get; set; }

            public bool UseDayNightSetting { get; set; }

            public System.TimeSpan? DayNightStartTime { get; set; }

            public System.TimeSpan? DayNightEndTime { get; set; }

            public System.TimeSpan FullDayCheckoutTime { get; set; }

            public int TimeZoneOffset { get; set; }

            public string TimeZoneId { get; set; }

            public int MinutesToRoundUp { get; set; }

            public System.TimeSpan NightAuditTime { get; set; }

            public System.DateTime? LastNightAuditDate { get; set; }

            public System.DateTime? CreatedDate { get; set; }

            public System.DateTime? ResetDate { get; set; }

            public System.DateTime? LastPaymentAuditDate { get; set; }

            public bool? IsRoomDirtyAfterNighAudit { get; set; }

            public bool? IsUseTimeInOutPrivate { get; set; }

            public System.TimeSpan? TimeInPrivate { get; set; }

            public System.TimeSpan? TimeOutPrivate { get; set; }

            public int? RemainingDays { get; set; }

            public System.TimeSpan FullDayCheckinTime { get; set; }

            public AspNetUsers HotelOwnerAspNetUsers { get; set; }

            public HotelSizes HotelSizes { get; set; }

            public Money DefaultMoney { get; set; }

            public EntitySet<Amenities> AmenitiesList { get; set; }

            public EntitySet<ChangeReservationStatus> ChangeReservationStatusList { get; set; }

            public EntitySet<ExtraServiceCategories> ExtraServiceCategoriesList { get; set; }

            public EntitySet<ExtraServiceItems> ExtraServiceItemsList { get; set; }

            public EntitySet<ExtraServiceTypes> ExtraServiceTypesList { get; set; }

            public EntitySet<EzAccounts> EzAccountsList { get; set; }

            public EntitySet<EzHotelAuditLogs> EzHotelAuditLogsList { get; set; }

            public EntitySet<EzHotelDefaultDiscounts> EzHotelDefaultDiscountsList { get; set; }

            public EntitySet<EzHotelModules> EzHotelModulesList { get; set; }

            public EntitySet<EzPaymentLogs> EzPaymentLogsList { get; set; }

            public EntitySet<FavoriteReport> FavoriteReportList { get; set; }

            public EntitySet<Folios> FoliosList { get; set; }

            public EntitySet<HotelAppConfig> HotelAppConfigList { get; set; }

            public EntitySet<HotelConnectivityModuleConfig> HotelConnectivityModuleConfigList { get; set; }

            public EntitySet<HotelForm> HotelFormList { get; set; }

            public EntitySet<Money> MoneyList { get; set; }

            public EntitySet<NightAudits> NightAuditsList { get; set; }

            public EntitySet<PastCheckOut> PastCheckOutList { get; set; }

            public EntitySet<Payments> PaymentsList { get; set; }

            public EntitySet<RemarkTemplates> RemarkTemplatesList { get; set; }

            public EntitySet<ReservationRooms> ReservationRoomsList { get; set; }

            public EntitySet<Reservations> ReservationsList { get; set; }

            public EntitySet<ReservationTravellerExtraInformation> ReservationTravellerExtraInformationList { get; set; }

            public EntitySet<RoomCharges> RoomChargesList { get; set; }

            public EntitySet<RoomExtraServiceItems> RoomExtraServiceItemsList { get; set; }

            public EntitySet<RoomExtraServices> RoomExtraServicesList { get; set; }

            public EntitySet<RoomMove> RoomMoveList { get; set; }

            public EntitySet<RoomPrices> RoomPricesList { get; set; }

            public EntitySet<RoomRemarks> RoomRemarksList { get; set; }

            public EntitySet<RoomRepair> RoomRepairList { get; set; }

            public EntitySet<Rooms> RoomsList { get; set; }

            public EntitySet<RoomStatus> RoomStatusList { get; set; }

            public EntitySet<RoomTypeAmenities> RoomTypeAmenitiesList { get; set; }

            public EntitySet<RoomTypes> RoomTypesList { get; set; }

            public EntitySet<SmartCard> SmartCardList { get; set; }

            public EntitySet<Staffs> StaffsList { get; set; }

            public EntitySet<StatusColors> StatusColorsList { get; set; }

            public EntitySet<SystemInvoiceNumber> SystemInvoiceNumberList { get; set; }

            public EntitySet<Travellers> TravellersList { get; set; }

            public EntitySet<UserHotels> UserHotelsList { get; set; }

            public EntitySet<RoomBreakfast> RoomBreakfastList { get; set; }

            public EntitySet<RoomActiveHistory> RoomActiveHistoryList { get; set; }

            public EntitySet<POSPaymentTravellers> POSPaymentTravellersList { get; set; }

            public EntitySet<HotelDisplays> HotelDisplaysList { get; set; }

            public EntitySet<CMAvailabilityMatrixs> CMAvailabilityMatrixsList { get; set; }

            public EntitySet<CMConfigurations> CMConfigurationsList { get; set; }

            public EntitySet<CMRoomTypeMappings> CMRoomTypeMappingsList { get; set; }

            public EntitySet<CMBackgroundJobs> CMBackgroundJobsList { get; set; }

            public EntitySet<CMRoomRateMappings> CMRoomRateMappingsList { get; set; }

            public EntitySet<Company> CompanyList { get; set; }

            public EntitySet<Market> MarketList { get; set; }

            public EntitySet<Source> SourceList { get; set; }

            public EntitySet<Floors> FloorsList { get; set; }

            public EntitySet<EzReferralCodes> EzReferralCodesList { get; set; }

            public EntitySet<EzReferralProgramLogs> AEzReferralProgramLogsList { get; set; }

            public EntitySet<EzReferralProgramLogs> BEzReferralProgramLogsList { get; set; }

            public EntitySet<DrafPOSPaymentTraveller> DrafPOSPaymentTravellerList { get; set; }

            public EntitySet<POSConfigs> POSConfigsList { get; set; }

            public EntitySet<POSPaymentTravellerPayments> POSPaymentTravellerPaymentsList { get; set; }

            public EntitySet<NoShowLog> NoShowLogList { get; set; }

            public EntitySet<HotelEmailConfig> HotelEmailConfigList { get; set; }

            public EntitySet<HotelEmailLog> HotelEmailLogList { get; set; }

        }

        #endregion
    }
}